/**********************************************************************************************************************
 *
 * Project:    mGameEngine
 * File:       tgaloader.h
 * Author:     karooolek
 * Created on: 2009-04-24
 *
 **********************************************************************************************************************/

#ifndef TGALOADER_H_
#define TGALOADER_H_

#include "imageloader.h"

namespace mGameEngine
{
namespace Graphics
{

/**
 * TGA image loader.
 */
class TGALoader : public ImageLoader
{
public:
    /**
     * Create TGA image loader with no file name specified.
     */
    TGALoader();

    /**
     * Create TGA image file loader with specified file name.
     * @param filename TGA image file name to load
     */
    TGALoader(const String &filename);

    /**
     * Destroy TGA image file loader.
     */
    ~TGALoader();

    /**
     * Load image from TGA file.
     */
    void load();
};

}
}

#endif // TGALOADER_H_
